package com.academic.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

/**
 * (SchoolRead)实体类
 *
 * @author makejava
 * @since 2024-10-31 22:39:44
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName("school_read")
public class SchoolRead implements Serializable {
    private static final long serialVersionUID = -83304939479283349L;

    @TableId(type = IdType.AUTO)
    private Long id;
/**
     * 学年
     */
    private String readYears;
/**
     * 平均成绩
     */
    private String exam;

    private String readExam;
/**
     * 0正常1挂科
     */
    private Integer status;

    private Long userId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}

